//
//  NYOPMovieDetailViewController.h
//  Kokozu
//
//  Created by Bismarrck on 11-7-12.
//  Copyright 2011年 Tsinghua University. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MovieDetailViewController.h"
#import "NYOPMovieRecord.h"
#import "DateWheelViewController.h"
#import "CustomTabBarViewController.h"

#define kTicketNumButtonTag         1001
#define kCommCircleButtonTag        1002
#define kMonthButtonTag             1003
#define kDayButtonTag               1004
#define kTimeButtonTag              1005

@interface NYOPMovieDetailViewController : MovieDetailViewController <LocationViewChangeDelegate, DateDidFinishChooseDelegate,UITextFieldDelegate>
{
    IBOutlet UILabel *movieNameLabel;
    IBOutlet UILabel *movieAvgPriceLabel;
    IBOutlet UITextField *myPriceField;
    IBOutlet UILabel *movieIntroLabel;
    IBOutlet UIButton *ticketNumButton;
    IBOutlet UIButton *dayButton;
    IBOutlet UIButton *monthButton;
    IBOutlet UIButton *timeButton;
    IBOutlet UIButton *commCircleButton;
    IBOutlet UISlider *priceSlider;
    NSString *ticket_num_;
    NSString *book_time;
    NSString *commArea_;
    
    NYOPMovieRecord *NYOPRecord;
    ActionSheetType type_;
}

@property (nonatomic, retain) UILabel *movieNameLabel;
@property (nonatomic, retain) UILabel *movieAvgPriceLabel;
@property (nonatomic, retain) UITextField *myPriceField;
@property (nonatomic, retain) UILabel *movieIntroLabel;
@property (nonatomic, retain) UIButton *ticketNumButton;
@property (nonatomic, retain) UIButton *dayButton;
@property (nonatomic, retain) UIButton *monthButton;
@property (nonatomic, retain) UIButton *timeButton;
@property (nonatomic, retain) UIButton *commCircleButton;
@property (nonatomic, retain) NYOPMovieRecord *NYOPRecord;
@property (nonatomic, retain) NSString *book_time;
@property (nonatomic, retain) UISlider *priceSlider;

- (IBAction)buttonPressed:(UIButton *)button;
- (void)valueChanged:(id)sender;

@end
